Help > Reference > Macros > Tab object > Sort method

Sort method

Calling this method will re-order the current search results according to the given sort method.

Member of

Tab

Type

Sub(Method)

Parameters

The example below will execute a search that returns all documents, found in the current index, and then sort the results in reverse order of Document Size, grouped by Category Name.

Example

App.ActiveTab.Search "*"
App.ActiveTab.Sort -67

See Also

Macro Object Model

Tab